package com.ojoin.trade.common.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ojoin.trade.common.web.dao.NotificationTemplateDao;
import com.ojoin.trade.common.web.domain.NotificationTemplate;

@Service
public class NotificationTemplateService extends BaseServiceImpl<NotificationTemplate> {

	@Autowired
    private NotificationTemplateDao dao;

    public NotificationTemplate findByName(final String name) {
        return getBaseDao().findByName(name);
    }


	@Override
	protected NotificationTemplateDao getBaseDao() {
		return dao;
	}
}
